package com.san.hkhospital.service;

import java.util.List;
import com.san.hkhospital.entity.HospitalizedExample;
import com.san.hkhospital.entity.Hospitalized;
import com.san.hkhospital.vo.Search;
import com.san.hkhospital.vo.hospitalizedTableVo;

/**
 * ClassName:HospitalizedService
 * PackageName:com.san.hkhospital.service
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 14:38
 * 
 */
 
 
public interface HospitalizedService{


    long countByExample(HospitalizedExample example);

    int deleteByExample(HospitalizedExample example);

    int deleteByPrimaryKey(Integer hpdId);

    int insert(Hospitalized record);

    int insertSelective(Hospitalized record);

    List<Hospitalized> selectByExample(HospitalizedExample example);

    Hospitalized selectByPrimaryKey(Integer hpdId);

    int updateByExampleSelective(Hospitalized record,HospitalizedExample example);

    int updateByExample(Hospitalized record,HospitalizedExample example);

    int updateByPrimaryKeySelective(Hospitalized record);

    int updateByPrimaryKey(Hospitalized record);

        Hospitalized find(Integer hpdId);

        List<hospitalizedTableVo> findAll();

    boolean add(Hospitalized hospitalized);

    boolean update(Hospitalized hospitalized);

    List<hospitalizedTableVo> search(Search search);


    boolean chuyuanKai(Integer hpdId);

    boolean chuyuanJie(Integer hpdId);
}
